<template>
	<view class="main">
		<u-navbar :is-back="true" title="隐私政策" :background="background" border-bottom="false" back-icon-color="#000000"
			title-color="#33312D" title-bold="true"></u-navbar>
		<view class="whole">
			<u-parse :html="content"></u-parse>
		</view>

	</view>
</template>
<script>
	export default {
		data() {
			return {
				background: {
					backgroundColor: '#fff'
				},
				content:''
			}
		},
		onLoad() {
			this.getcontent()
		},
		mounted() {

		},
		onShow() {},
		methods: {
			getcontent() {
				global.$http.request({
					url: '/shopapi/user/yszc',
					data: {
						token: uni.getStorageSync('token')
					}
				}).then(res => {
					if (res.data.code == 200) {
						console.log(res.data);
						this.content = res.data.data.yszc
					}
				})
			},

		}
	}
</script>
<style lang="scss">
	page {
		font-family: PingFang SC;
		width: 750rpx;
		margin: 0 auto;
		background-color: #fff;

		.main {
			width: 750rpx;

			.whole {
				background-color: #fff;
				border-top: 10rpx solid #f7f7f7;
				display: flex;
				flex-direction: column;
				align-items: center;

				.head {
					margin-top: 52rpx;
					width: 140rpx;
					height: 140rpx;
					border-radius: 100%;

					image {
						width: 140rpx;
						height: 140rpx;
					}
				}

				.tit {
					font-size: 32rpx;
					color: #000000;
					padding: 35rpx 0 65rpx 0;
				}

				.content {
					padding: 0 41rpx;
					line-height: 35rpx;

					text {
						font-size: 22rpx;
						font-weight: bold;
						color: #4C4C4C;
					}
				}
			}
		}
	}
</style>
